<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../base.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript"
	src="js/showImage/jquery.mousewheel-3.0.6.pack.js"></script>

<script type="text/javascript"
	src="js/showImage/jquery.fancybox.js?v=2.1.5"></script>
<link rel="stylesheet" type="text/css"
	href="js/showImage/jquery.fancybox.css?v=2.1.5" media="screen" />

<link href="css/personalSpace/user_space.yy.css" rel="stylesheet"
	type="text/css">
<script type="text/javascript" src="js/personalSpace/personal_space.js"></script>
<title>${user.name }空间</title>
</head>
<body>
	<!-- 导航栏框架 -->
	<div class="yy_header">
		<div class="yy_nav">
			<span class="logo" title="找对象，上友缘网！"><a href="#"></a></span>
			<ul>
				<li><a class="a_02" href="space_redirect?type=0"><span></span>空间</a></li>
				<li><a class="a_04" href="search_redirectSearch"><span></span>搜缘</a></li>
				<li><a class="a_05" href="space_redirect?type=1"><span></span>服务</a></li>
				<li><a class="a_03" href="space_redirect?type=2"><span></span>信箱</a></li>
			</ul>
			<div id="mineInfo" class="set_up ">
				<span title="${session.userInfo.name}">你好，${session.userInfo.name}</span>
				<div id="topSetDiv" class="set_tip popupTip" style="display: none;">
					<ol>
						<li><a href="space_redirect?type=0">修改条件</a></li>
						<li><a href="space_redirect?type=2">我的邮箱</a></li>
						<li class="last"><a id="btnLogout"
							href="space_redirectLogout">退出登录</a></li>
					</ol>
				</div>
			</div>
		</div>
	</div>
	<div class="y_user y_user_02">
		<div class="con">
			<div class="con_title"></div>
			<dl class="personal_cen">
				<dt>
					<img src="${otherData.icon }" width="174" height="214"><a
						class="state_01 setUp"></a>
				</dt>
				<dd>
					<div class="main">
						<input type="hidden" value="${user.userid }" id="userid" /> <strong>${user.name }</strong><span><a
							title="头像上传" class="icon01 icon001"></a><a title="资料完善"
							class="icon02 icon002"></a><a title="手机验证" class="icon03 icon003"></a><a
							title="身份验证" class="icon04 icon004"></a><a title="邮箱验证"
							class="icon08 icon008"></a></span>
					</div>
					<p class="local">${otherData.apartment }${otherData.age }岁
						${otherData.height } ${otherData.monthlyIncome } ${otherData.house }</p>
					<ol class="hoby" defaultHobbyData="${otherData.hobby}"
						defaultPersonalityData="${otherData.personality}">
					</ol>
					<s:if test="user.userid != session.userInfo.userid">
						<div class="select_hello">
							<a href="#" class="sayHiBtn hello"><span>打招呼</span> </a><a
								href="#" class="give showGiftBtn"><span>送礼物</span></a> <a
								href="#" class="attion follow setAttention"><span><s:if
										test="otherData.isAttention != true">关注ta</s:if> <s:else>已关注</s:else></span></a>
						</div>
					</s:if>
				</dd>
			</dl>
		</div>
	</div>
	<div id="photo" class="photo">
		<div class="ph_show">
			<ul class="block_photo">
				<s:if
					test="otherData.photoList==null || otherData.photoList.size == 0">
					<li class="needPhoto"><a class="need_photo" href="#"></a></li>
				</s:if>
				<s:else>
					<s:iterator var="item" value="otherData.photoList">
						<li class="smallPhoto"><a class="fancybox"
							data-fancybox-group="gallery"
							href="<s:property value="#item.src"/>"><img width="110"
								height="110" alt="照片" src="<s:property value="#item.src"/>"></a></li>
					</s:iterator>
				</s:else>
			</ul>
		</div>
		<!--照片展示end-->
	</div>
	<!--个人资料start-->
	<div class="pre_data">
		<strong class="tit_main">${user.name }的个人资料</strong>
		<ul class="requre">
			<li>
				<h2>${user.name }的内心独白</h2>
				<p>${otherData.soliloquy }</p>
			</li>
			<li>
				<h2>${user.name }的详细资料</h2>
				<div class="message">
					<ol>
						<li>籍 贯：<span class="black">${otherData.birthplace }</span></li>
						<li>体 重：<span class="black">${otherData.weight }</span></li>
						<li>学 历：<span class="black">${otherData.education }</span></li>
						<li>月 薪：<span class="black">${otherData.monthlyIncome }</span></li>
						<li>是否想要小孩：<span class="black">${otherData.children }</span></li>
						<li>喜欢的异性类型：<span class="black">${otherData.loveType }</span></li>
						<li>是否愿意与父母同住：<span class="black">${otherData.liveWithParents }</span></li>
					</ol>
					<ol>
						<li>婚姻：<span class="black">${otherData.marryCondition }</span></li>
						<li>身高：<span class="black">${otherData.height }</span></li>
						<li>职业：<span class="black">${otherData.profession }</span></li>
						<li>住房：<span class="black">${otherData.house }</span></li>
						<li>能否接受异地恋：<span class="black">${otherData.distanceLove }</span></li>
						<li>能否接受婚前性行为：<span class="black">${otherData.premaritalSex }</span></li>
						<li>最有魅力的部位：<span class="black">${otherData.charm }</span></li>
					</ol>
				</div>
			</li>
			<div class="clear"></div>
			<li>
				<h2>${user.name }的征友条件</h2>
				<div class="message">
					<ol>
						<li>所在地区：<span class="black">${otherData.personalAddress }</span></li>
						<li>身高：<span class="black">${personalsCondition.minHeight }cm</span>
							～ <span class="black">${personalsCondition.maxHeight }cm</span></li>
						<li>收入：<span class="black">${otherData.personalIcome }</span></li>
					</ol>
					<ol>
						<li>年龄：<span class="black">${personalsCondition.minAge }岁</span>
							～ <span class="black">${personalsCondition.maxAge }岁</span></li>
						<li>学历：<span class="black">${otherData.personalEducation }</span></li>
					</ol>
					<font class="prompt">以上并不是硬性要求，快来和我联系吧。</font>
				</div>
			</li>
			<div class="clear"></div>
			<li>
				<h2>${user.name }的礼物</h2>
				<p class="p_gift" title="爱心早餐">
					<img src="images/system/003.gif"><span>爱心早餐</span>
				</p>
				<p class="p_gift" title="玫瑰花">
					<img src="images/system/015.gif"><span>玫瑰花</span>
				</p>
			</li>
		</ul>
		<div class="hi">
			<s:if test="user.userid != session.userInfo.userid">
				<div class="hi_box">
					<a title="打招呼" class="sayHiBtn hello" href="#"><span>打招呼</span></a><a
						class="give showGiftBtn" href="#">送礼物</a><a
						class="attion setAttention attion_he" href="#"><span><s:if
								test="otherData.isAttention != true">关注ta</s:if> <s:else>已关注</s:else></span></a>
				</div>
			</s:if>
		</div>
	</div>
</body>
</html>